-- GENERATED SPELL FOR [Celea Frozenmane] --


function spell0_24032(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(22121,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24032', 600, 1)
end

function Sorts_24032(pUnit, Event)
local choix_sorts_24032 = math.random(0, 0)
if choix_sorts_24032 == 0 then
pUnit:RegisterEvent('spell0_24032', 1, 1)
end
end

function mob24032_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24032', math.random(1500, 3000), 1)
end

function mob24032_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24032_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24032_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24032, 1, 'mob24032_Action')
RegisterUnitEvent(24032, 2, 'mob24032_Leave')
RegisterUnitEvent(24032, 3, 'mob24032_Kill')
RegisterUnitEvent(24032, 4, 'mob24032_Die')
